﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ET.Monitor.DAL
{
    public class StationModelDAL
    {
        //object objJudge = null, obj = null, dlVal = null;
        //string strSql = "", strErrMsg = "", plantName = "";
        //DataTable dt = new DataTable();

        //InvokeWebService iw = new InvokeWebService();
        //string rtdbRelationAddress = "";
        //string rtdbRealTimeAddress = "";
        //string rtdbNameSpace = "";
        //string rtdbJudge = "";

        //public StationDAL()
        //{
        //    rtdbRelationAddress = ConfigurationManager.ConnectionStrings["RelationURL"].ConnectionString;
        //    rtdbRealTimeAddress = ConfigurationManager.ConnectionStrings["RealTimeURL"].ConnectionString;
        //    rtdbNameSpace = ConfigurationManager.ConnectionStrings["NameSpace"].ConnectionString;
        //    rtdbJudge = ConfigurationManager.ConnectionStrings["Judge"].ConnectionString;
        //}


        //private string id;
        //private string name;
        //private string[] points;

        //public string Id
        //{
        //    get
        //    {
        //        return id;
        //    }

        //    set
        //    {
        //        id = value;
        //    }
        //}

        //public string Name
        //{
        //    get
        //    {
        //        return name;
        //    }

        //    set
        //    {
        //        name = value;
        //    }
        //}

        //public string[] Points
        //{
        //    get
        //    {
        //        return points;
        //    }

        //    set
        //    {
        //        points = value;
        //    }
        //}

        //private object GetName()
        //{
        //    strSql = "select t_irradiancetag from T_BASE_POINTS_ORG where T_ORGID='" + id + "'";
        //    obj = iw.RunWebService(rtdbRelationAddress, rtdbNameSpace, "RunSingle", new object[] { strSql, strErrMsg });
        //    return obj;
        //}
    }
}
